package com.shenmazong.serveraopdemo.controller;

import com.shenmazong.serveraopdemo.pojo.TbUser;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: server-java-demo
 * @description: LongController
 * @author: 亮子说编程
 * @create: 2021-02-02 17:32
 **/

@RestController
public class LongController {

    @RequestMapping(value = "/getLong")
    public TbUser getLong() {
        TbUser user = new TbUser();
        user.setUserId(2341243123L);
        user.setUserName("david");

        return user;
    }
}
